package com.example.myapplication2048.datamodel;

import java.util.ArrayList;
import java.util.List;
import java.util.stream.IntStream;

public class DynamicViewModel {
    private List<DynamicItemInfo> dataItemList = new ArrayList<>();

    public DynamicViewModel() {
        IntStream.range(0,2)
                .forEach(index->dataItemList.add(
                        new DynamicItemInfo(false,"蓝天","adfa",123123L  ,true,12,12,2)));
    }
    public List<DynamicItemInfo> getDataItemList() {
        return dataItemList;
    }
}
